package com.jd.pet.service;

import com.jd.basic.service.IBaseService;
import com.jd.basic.util.AjaxResult;
import com.jd.basic.util.PageList;
import com.jd.pet.domain.SearchMasterMsg;
import com.jd.pet.dto.OrderDto;
import com.jd.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author uco
 * @since 2023-07-12
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg searchMasterMsg, HttpServletRequest request);

    PageList<SearchMasterMsg> user(SearchMasterMsgQuery searchMasterMsgQuery, HttpServletRequest request);

    PageList<SearchMasterMsg> toHandle(SearchMasterMsgQuery searchMasterMsgQuery, HttpServletRequest request);

    PageList<SearchMasterMsg> toSearchMasterPool(SearchMasterMsgQuery searchMasterMsgQuery);

    PageList<SearchMasterMsg> finish(SearchMasterMsgQuery searchMasterMsgQuery, HttpServletRequest request);

    AjaxResult reject(Long msgId);

    AjaxResult accept(OrderDto orderDto);
}
